package com.shengyin.ec.model.dao.news;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.News;

public interface NewsDao extends BaseDao<News> {

	public void deleteAllNews(long[] ids);

	public void deleteNewsByAuthor(String newsAuthor);

	public List<News> getNewsList();

	public void deleteSelectedNews(Long[] ids);

	public List<News> getNewsList(int offset, int pagesize);

	public Long getTotal();

	
	
}
